import java.util.Scanner;

public class WhileDemo12 {
    public static void main(String[] args) {
//        while (true) {// 死循环
//            System.out.println("Hello World");
//        }

        int i = 1;
        while (i <= 9) {
            System.out.println("HelloWorld");
            i++;
        }

        int j = 0;
        while (j < 5) {
            j++;
            int k = 0;
            while (k < 3) {
                System.out.println("hello");
                k++;
            }
        }


        Scanner scanner = new Scanner(System.in);
        int m = 0;
        while (m < 10) {
            System.out.println("请第" + m + "次输入数字");
            int i1 = scanner.nextInt();
            m++;
        }

    }

}
